<%@ page language="java" import="java.util.*;" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<html:base />
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>进货入库</title>
	</head>
	<script src="../../js/jquery.js"></script>
	<script src="../../js/CJL.0.1.min.js"></script>
	<script src="../../js/sort.js"></script>
	<script src="../../js/calendar.js"></script>
	<script src="../../js/changebgcolor.js"></script>
	<script src="../../js/stock/stock.js"></script>

	<link href="../../css/body.css" rel="stylesheet" type="text/css" />
	<link href="../../css/bus.css" rel="stylesheet" type="text/css" />
	<link href="../../css/sort.css" rel="stylesheet" type="text/css" />
	<link href="../../css/mask.css" rel="stylesheet" type="text/css" />

	<body class="bb" style="padding: 5px; text-align: center;" onload="selectAllMer();">
		<div style="position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 0;">
			<br />
			<h2>
				库存管理
			</h2>
			<hr />
			货品编号：<input id="merchandiseCid" type="text" style="width: 100px;">
			货品名称：<input id="merchandiseName" type="text" style="width: 100px;">
			货品类别：<select id="merchandiseType">
						<option value=""></option>
						<c:forEach var="merType" items="${merchandiseTypeList}">
							<option value="${merType.merchandiseTypeId}">${merType.merchandiseTypeName}</option>
						</c:forEach>
					 </select>
			货品规格：<input id="merchandiseNorm" type="text" style="width: 100px;">
			&nbsp;&nbsp;
			<input type="button" value="查找" onclick="selectMer();" >
			<table border="0" cellspacing="1" class="odTable" id="idTable" onMouseOver="changeto()"  onmouseout="changeback()"
				style="border: 0;" width="600px">
				<thead>
					<tr>
						<td width="100">
							编号
						</td>
						<td width="100">
							名称
						</td>
						<td width="100">
							类别
						</td>
						<td width="100">
							单位
						</td>
						<td width="120">
							数量
						</td>
						<td width="120">
							货品规格
						</td>
						<td width="120">
							货品备注
						</td>
						<td width="120">
							预警数量
						</td>
						<td width="40px">
							&nbsp;
						</td>
					</tr>
				</thead>
				<tbody id="merList">
				</tbody>
				<tfoot>
					<tr>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
						<td width="">
							&nbsp;&nbsp;
						</td>
					</tr>
				</tfoot>
			</table>
	</body>
</html>
